package com.geen.tuoke.ui.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.listener.OnItemClickListener
import com.chad.library.adapter.base.module.LoadMoreModule
import com.chad.library.adapter.base.viewholder.BaseDataBindingHolder
import com.geen.tuoke.R
import com.geen.tuoke.bean.PhoneTaskInfo
import com.geen.tuoke.bean.TaskInfo
import com.geen.tuoke.databinding.ItemAutoTaskBinding

/**
 *
 * @Description: java类作用描述
 * @Author: geen
 * @CreateDate: 2022/1/3 15:55
 * @Version: 1.0
 */
class PhoneTaskAdapter : BaseQuickAdapter<TaskInfo,BaseDataBindingHolder<ItemAutoTaskBinding>>(
    R.layout.item_auto_task),LoadMoreModule {

    override fun convert(holder: BaseDataBindingHolder<ItemAutoTaskBinding>, item: TaskInfo) {
        with(holder.dataBinding!!){
            taskInfo = item
            executePendingBindings()
        }
    }


}